package ppms.ui.perspective;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import ppms.ui.view.PropertyTreeView;

public class PropertyPerspective implements IPerspectiveFactory
{

    /**
     * Creates the initial layout for a page.
     */
    public void createInitialLayout(IPageLayout layout)
    {
	String editorArea = layout.getEditorArea();
	addFastViews(layout);
	addViewShortcuts(layout);
	addPerspectiveShortcuts(layout);
	layout.addView(PropertyTreeView.ID, IPageLayout.LEFT, 0.5f, editorArea);
    }

    /**
     * Add fast views to the perspective.
     */
    private void addFastViews(IPageLayout layout)
    {
    }

    /**
     * Add view shortcuts to the perspective.
     */
    private void addViewShortcuts(IPageLayout layout)
    {
    }

    /**
     * Add perspective shortcuts to the perspective.
     */
    private void addPerspectiveShortcuts(IPageLayout layout)
    {
    }

}
